home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
mail
/
pine3.96.tar.gz
/
pine3.96.tar
/
pine3.96
/
pico
/
makefile.wnt
< prev
next >
Wrap
Makefile
|
1996-03-15
|
3KB
|
121 lines
# $Id: makefile.wnt,v 4.3 1996/03/15 07:41:11 hubert Exp $
#
# Michael Seibel
# Networks and Distributed Computing
# Computing and Communications
# University of Washington
# Administration Builiding, AG-44
# Seattle, Washington, 98195, USA
# Internet: mikes@cac.washington.edu
#
# Please address all bugs and comments to "pine-bugs@cac.washington.edu"
#
#
# Pine and Pico are registered trademarks of the University of Washington.
# No commercial use of these trademarks may be made without prior written
# permission of the University of Washington.
#
# Pine, Pico, and Pilot software and its included text are Copyright
# 1989-1996 by the University of Washington.
#
# The full text of our legal notices is contained in the file called
# CPYRIGHT, included with this distribution.
#
#
#
# Makefile for MS-DOS version of the PINE composer library and
# stand-alone editor pico.
#
# MSC version of makefile
#
CC=cl
RM=del
CP=copy
RC=rc
#includes mouse support
MOUSE= -DMOUSE -DEX_MOUSE
#includes symbol info for debugging
CDEBUG= -Zi -Od
LDEBUG= /DEBUG /DEBUGTYPE:CV
CFLAGS= $(CDEBUG) -nologo -MT $(NET) -DWIN32 -DANSI -DDOS -D_WINDOWS $(MOUSE) -DMSC_MALLOC
LFLAGS= $(LDEBUG)
RCFLAGS =
# switches for library building
LIBS=libpico.lib oldnames.lib wsock32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib
LIBER=lib
LIBARGS=/nologo /verbose
HFILES= estruct.h edef.h efunc.h ebind.h pico.h osdep.h mswin.h
CFILES= attach.c basic.c bind.c browse.c \
buffer.c composer.c display.c file.c fileio.c \
line.c mswin.c msmem.c osdep.c pico.c random.c region.c \
search.c msdlg.c msspell.c window.c word.c
OFILES= attach.obj basic.obj bind.obj browse.obj \
buffer.obj composer.obj display.obj file.obj fileio.obj \
line.obj mswin.obj msmem.obj osdep.obj pico.obj random.obj \
region.obj search.obj msdlg.obj msspell.obj window.obj word.obj
all: blddate.exe pico.exe
tags:
ctags -s -t ..\\TAGS -m -h -p *.h *.c
.c.obj:
$(CC) -c $(CFLAGS) $(MAKEDIR)\$*.c
# $(LIBER) /out:libpico.lib $(LIBARGS) $*.obj
$(OFILES): $(HFILES)
#
# dependencies for the MS Windows versions of pico and libpico.a
#
osdep.c: os_win.c dos_gen.h dos_gen.c
$(RM) osdep.c
$(CP) os_win.c osdep.c
osdep.h: os_win.h
$(RM) osdep.h
$(CP) os_win.h osdep.h
libpico.lib: osdep.c osdep.h $(OFILES)
del libpico.lib
$(LIBER) /out:libpico.lib $(OFILES)
main.obj: main.c $(HFILES)
$(CC) /c $(CFLAGS) main.c
mswinver.obj: mswinver.c
$(CC) /c $(CFLAGS) mswinver.c
mswin.res: mswin.rc
$(RC) $(RCFLAGS) /fo mswin.res mswin.rc
blddate.exe: blddate.c
$(CC) blddate.c
pico.exe:: main.obj libpico.lib mswin.res $(OFILES) mswinver.obj
blddate > bdate.c
$(CC) /c $(CFLAGS) bdate.c
link /subsystem:windows /out:pico.exe $(LFLAGS) bdate.obj mswinver.obj main.obj mswin.res $(LIBS)
clean:
$(RM) *.lib
$(RM) *.obj
$(RM) mswin.res
$(RM) osdep.c
$(RM) osdep.h